package buildrobot_info

import (
	"go_server/game_server/protocol/pb"
	"go_server/zinx/ziface"
)

func BindApiHandler_BuildRobot(server ziface.IServer) {
	server.AddRouter(uint32(pb.ProtocolManager_AddBuildRobotLvUp), Buildrobot_info_serviceObj.Router_AddBuildRobotLvUp)
	server.AddRouter(uint32(pb.ProtocolManager_DelBuildRobotLvUp), Buildrobot_info_serviceObj.Router_DelBuildRobotLvUp)
	server.AddRouter(uint32(pb.ProtocolManager_BuildRobotLvUpOver), Buildrobot_info_serviceObj.Router_BuildRobotLvUpOver)
	server.AddRouter(uint32(pb.ProtocolManager_DelAllRobot2BuildLvUp), Buildrobot_info_serviceObj.Router_DelAllRobot2BuildLvUp)
	server.AddRouter(uint32(pb.ProtocolManager_GetAllBuildRobots), Buildrobot_info_serviceObj.Router_GetAllBuildRobots)
	server.AddRouter(uint32(pb.ProtocolManager_BuildRobotUpgradeByItem), Buildrobot_info_serviceObj.Router_BuildRobotUpgradeByItem)
	server.AddRouter(uint32(pb.ProtocolManager_BuildRobotChargeByItem), Buildrobot_info_serviceObj.Router_BuildRobotChargeByItem)
}
